<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户编辑</title>
</head>
<body>
<h1>用户编辑</h1>
<hr>
<form action="/update" method="post">
    <input type="hidden" name="id" th:value="${user.id}">
    用户名：<input type="text" name="username" th:value="${user.username}"><br>
    密码：<input type="password" name="password" th:value="${user.password}"><br>
    姓名：<input type="text" name="name" th:value="${user.name}"><br>
    年龄：<input type="text" name="age" th:value="${user.age}"><br>
    性别：<input type="text" name="sex" th:value="${user.sex}"><br>
    备注：<input type="text" name="note" th:value="${user.note}"><br>
    生日：<input type="text" name="birthday" th:value="${#dates.format(user.birthday,'yyyy-MM-dd')}"><br>
    <input type="submit" value="修改"><br>
</form>
</body>
</html>